package com.lsw.util;

import android.util.Log;

/**
 * Created by lsw on 2017/8/4.
 */

public class LogUtils {
    public static boolean logdebug = false;

    public static void i(String tag, String str) {
        if (logdebug) {
            Log.i("logcat:", tag + ":" + str);
        }
    }

    public static void e(String tag, String str) {
        if (logdebug) {
            Log.e("logcat:", tag + ":" + str);
        }
    }

    public static void d(String tag, String str) {
        if (logdebug) {
            Log.d("logcat:", tag + ":" + str);
        }
    }
}
